{{ content() }}
<div class="page-content-area">
    <div class="page-header page-header-fixed">
        <h1>
            Create Video
        </h1>
    </div>

    <div class="row">
        <div class="col-sm-4 col-sm-offset-0 col-md-12 col-md-offset-0">
            <div class="col-xs-12" ng-controller='videoController'>
                {% for message in form.getMessages() %}
                    {{ message }}
                {% endfor %}
                <div class="form-content">
                     {{ form(config.application.backendUrl ~ '/video/create' , 'class': 'form-signup form-horizontal' , 'enctype' : "multipart/form-data") }}
                     {{ form.renderDecorated('imdb') }}
                     {{ form.renderDecorated('name') }}
                    {{ form.renderDecorated('description') }}
                    {{ form.renderDecorated('category_id') }}
                    {{ form.renderDecorated('national_id') }}
                    {{ form.renderDecorated('duration') }}
                    {{ form.renderDecorated('year_product') }}
                    {{ form.renderDecorated('year_publish') }}
                    {{ form.renderDecorated('file') }}
                    {{ form.renderDecorated('status') }}
                    <div class="clearfix"></div>
                    <div class="clearfix"></div>
                    {{ form.renderDecorated('submit') }}
                    {{ endform() }}
                </div>
            </div>
        </div>
    </div>
</div>
